package com.ruiyian.system.service.impl;

import com.ruiyian.system.domain.IceDetect;
import com.ruiyian.system.mapper.IceDetectMapper;
import com.ruiyian.system.service.IceDetectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author chong
 * @email 673426164@qq.com
 * @create 2022/6/20
 * Desc: 文件档案
 */
@Service
public class IceDetectServicelmpl implements IceDetectService{
    @Autowired
    private IceDetectMapper iceDetectMapper;

    @Override
    public List<IceDetect> list(IceDetect icedetect) {
        return iceDetectMapper.list(icedetect);
    }

    @Override
    public void save(IceDetect icedetect) {
        iceDetectMapper.save(icedetect);
    }

//    @Override
//    public void updateName(IceDetect icedetect) {
//
//    }

    @Override
    public void delete(Long id) {
        iceDetectMapper.delete(id);
    }

}
